/**
 * 
 */
package com.feib.stms.service;

import org.springframework.transaction.annotation.Transactional;

import com.feib.stms.model.ConfirmRule;
import com.feib.stms.model.Group;

/**
 * @author Jeff Gu
 *
 */
@Transactional(readOnly = true)
public interface ConfirmRuleService {
	
	
	/**
	 * 設定券商流程參數,有新增券商就該加入<br/>
	 * 
	 * <ol>
	 * <li>放行通過門檻人數不能為0，也就是一定要經過放行作業。</li>
	 * @param group
	 * @return
	 */
	@Transactional(readOnly = false)
	public int saveConfirmRule(ConfirmRule ConfirmRule);



	public ConfirmRule findConfirmRuleEnabled(Group group); 

	/**v
	 * 修改券商流程設定
	 * @param confirmRule
	 * @return
	 */
	@Transactional(readOnly = false)
	public int disableConfirmRule(ConfirmRule confirmRule);


}
